#ifndef __inverter_host_h
#define __inverter_host_h

#include "pfc_control.h"
#include "screenControlInverter.h"

#if USE_INVHOST

typedef enum
{
    HOST_PFC_STATE=0,
    HOST_INV_STATE,
    HOST_V_SET,
    HOST_C_SET,
}hostDataName_E;
typedef struct
{
    hostDataName_E name;
    uint8_t data;
    uint16_t (*dataControl)(uint16_t);
}invHostSetData_T;

void HOST_invPolling(void);
void HOST_invHostRxDataControl(void);
void HOST_sendDataToHost(void);
#endif
#endif
